package com.jingyi.common.config;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 读取微信项目相关配置
 *
 * @author jingyi
 */
@Component
@ConfigurationProperties(prefix = "wx")
@Data
public class WxAuthConfig {
    /** 微信appid**/
    private String appId;

    /** 微信appsecret**/
    private String appSecret;

    /** 微信callback**/
    private String callback;

    /** 登录成功跳转页面**/
    private String redirectUrl;

    private String queryCallback;

    private String queryRedirectUrl;


}
